﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="Hisun.UserControl.CostCenterItem.List" %>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
    AutoGenerateColumns="False" Style="margin-right: 0px" DataSourceID="LinqDataSource1"
    AutoGenerateEditButton="True" PageSize="20" DataKeyNames="ID">
    <Columns>
        <asp:BoundField DataField="会计期间ID" HeaderText="会计期间ID" ReadOnly="True" SortExpression="会计期间ID" />
        <asp:BoundField DataField="作业中心ID" HeaderText="作业中心ID" SortExpression="作业中心ID" ReadOnly="True" />
        <asp:BoundField DataField="成本细项ID" HeaderText="成本细项ID" SortExpression="成本细项ID" ReadOnly="True" />
        <asp:BoundField DataField="金额" HeaderText="金额" SortExpression="金额" />
    </Columns>
</asp:GridView>
<p>
    <asp:Label ID="labMsg" runat="server" ForeColor="Red" Text="Label"></asp:Label>
    <br />
</p>
<asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="Hisun.Models.HisunDBDataContext"
    EnableUpdate="True" OrderBy="ID" TableName="TABC_JC_CostCenterItems" AutoGenerateWhereClause="True">
</asp:LinqDataSource>
